#pragma once
#include<string>
using namespace std;
class User
{
private:
	string UserName;
	string PassWord;
	int DayWantNumber;
	int DayCount;
	int AllCount;
	bool Registed;
	
public:
	int Tag;//用于判断是否是同一天内
	int Time[2];//用于判断是否在一个月内
	User(string U_N, string P_W, int D_W_N = 25, int D_C = 0, int A_C = 0);
	void changeUserName(string U_N);
	void changePassWord(string P_W);
	void changeDayWantNumber(int D_W_N);
	void changeDayCount(int D_C);
	void changeAllCount(int A_C);
	string getUserName();
	string getPassWord();
	int getDayWantNumber();
	int getDayCount();
	int getAllCount();
	bool getRegisted();
};